<span
  class="warning"
  [class.green]="color() === 'green'"
>{{ message() | translate }}</span>
